package officeboost.domain.equip_venue;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Objects;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class Equipment implements Serializable {

    private String id;
    private String name;
    private String theUsage;
    private String status;

    @Id
    public String getId() {
	return id;
    }

    public void setId(String id) {
	this.id = id;
    }
    
    public String getTheUsage() {
	return theUsage;
    }

    public void setTheUsage(String theUsage) {
	this.theUsage = theUsage;
    }

    public void setName(String name) {
	this.name = name;
    }

    public void setStatus(String status) {
	this.status = status;
    }

    public String getStatus() {
	return status;
    }

    public String getName() {
	return name;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Equipment other = (Equipment) obj;
        if (!Objects.equals(this.id, other.id)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 67 * hash + Objects.hashCode(this.id);
        return hash;
    }

   
    
    
}
